package com.demo.dao;

import com.demo.pojo.Manager;
import com.demo.pojo.Perm;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface PermDao {
    Perm findOne(int id);


    List<Perm> findOnePage();

    int deleteOne(int id);

    int addOne(Map<String, Object> map);

    int changeName(Map<String, Object> map);
}
